<!DOCTYPE html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<title>VIR</title>
		<meta name="viewport" content="width=device-width, initial-scale=1.0">
		<link rel="stylesheet" href="${resource(dir: 'css', file: 'main.css')}" type="text/css">
		<link rel="stylesheet" href="${resource(dir: 'css', file: 'bootstrap.min.css')}" type="text/css">
		<link rel="stylesheet" href="${resource(dir: 'css', file: 'bootstrap-theme.min.css')}" type="text/css">
		<link rel="stylesheet" href="${resource(dir: 'css', file: 'jquery.kwicks.min.css')}" type="text/css">
		<g:layoutHead/>
		<r:layoutResources />
		<style>
			#footer-content {
				/*max-width: 1000px;*/
				margin: 0 auto;
			}
			
			.kwicks {
                max-width: 500px;
                height: 100px;
            }
            .kwicks > li {
                height: 100px;
                width: 125px;
                margin-left: 0px;
                float: left;
            }


			
		</style>
	</head>
	<body>
	
		<div id="header">
			Fejléc
		</div>
		
		<g:layoutBody/>
		
		
		<div id="footer">
			<div class="row visible-lg visible-md" id="footer-content">
				<ul class='kwicks kwicks-horizontal' style="margin-left: auto ; margin-right: auto ;">
            		<li id='panel-1'>Menü 1</li>
            		<li id='panel-2'>Menü 2</li>
            		<li id='panel-3'>Menü 3</li>
        		</ul>
			</div>
			<div class="row visible-sm visible-xs" id="footer-content">
				<ul class='' style="margin-left: auto ; margin-right: auto ;">
            		<li id='panel-1'>Menü 1</li>
            		<li id='panel-2'>Menü 2</li>
            		<li id='panel-3'>Menü 3</li>
        		</ul>
			</div>
		</div>
		
		
		<g:javascript src="jquery.min.js" />
		<g:javascript library="application"/>
		<g:javascript src="bootstrap.min.js" />
		<g:javascript src="jquery.kwicks.min.js" />

		<script> 
		 $().ready(function() {
			$(window).resize(function() {
	  			if ($(this).width() > 765) {
	     			kwick();
	  			}
			});
			kwick();
          });
          
          var kwick = function(){
          	$('.kwicks').kwicks({
               maxSize : 350,
               behavior: 'menu'
           })};
		</script>​

		
		
		<r:layoutResources />
	</body>
</html>
